package com.cloud.cmt.usermanage.dao.repository;

import com.cloud.cmt.usermanage.dao.EnterpriseDetailDAO;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

/**
 * 浙江卓锐科技股份有限公司 版权所有 © Copyright 2017<br>
 * 说明: <br>
 * 项目名称: cloud-maintenance <br>
 * 创建日期: 2017年10月18日 16:47 <br>
 * 作者: <a href="6492178@gmail.com">汪萌萌</a>
 */
@Repository
public interface EnterpriseDetailRepository extends PagingAndSortingRepository<EnterpriseDetailDAO, Long>,JpaSpecificationExecutor<EnterpriseDetailDAO> {
    /**
     * Count by social credit code long.
     * 根据营业执照编号查询
     *
     * @param socialCreditCode the social credit code
     * @return the long
     */
    long countBySocialCreditCode(String socialCreditCode);

}
